home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11835 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  849 b 

  1. Path: FreeNet.Carleton.CA!aq436
  2. From: aq436@FreeNet.Carleton.CA (Jerry Boyd)
  3. Newsgroups: comp.lang.c
  4. Subject: Remove/Insert Function
  5. Date: 26 Mar 1996 21:06:08 GMT
  6. Organization: The National Capital FreeNet
  7. Sender: aq436@freenet2.carleton.ca (Jerry Boyd)
  8. Message-ID: <4j9m80$1cm@freenet-news.carleton.ca>
  9. Reply-To: aq436@FreeNet.Carleton.CA (Jerry Boyd)
  10. NNTP-Posting-Host: freenet2.carleton.ca
  11.  
  12.  
  13.  
  14. Anyone have suggestions as to how I would WRITE a 
  15. function (called remove_entry) where the argument 
  16. would be a pointer into a list.  The function 
  17. would remove the entry after the one that is 
  18. pointed to by the argument. 
  19.  
  20. Similarly, I need to write a function that would 
  21. insert a new entry into the link list whereby, the 
  22. argument is a pointer to the list entry to be 
  23. inserted.  
  24.  
  25. Any help would be greatly appreciated, as I'm a
  26. beginner.
  27. --
  28.  
  29.